﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <script>
        const uri = 'api/child/get/api/child';
        let todos = [];

        function getItems() {
            fetch(uri)
                .then(response => response.json())
                .then(response => _displayItems(response.data))
                .catch(error => console.error('Unable to get items.', error));
        }
        function _displayItems(data) {
            console.log(data)
        }
        getItems();
    </script>
</head>
<body>
    <h1>Test</h1>
</body>

</html>